package com.gec.system.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ahthor: lxj
 * @date: 2023/10/14 17:00
 * @title:
 **/
@Data
@AllArgsConstructor   //全参构造器
@NoArgsConstructor    //无参构造器
public class MyCustomerException extends RuntimeException {
    private Integer code;  //状态码，自设置不要和系统的状态码相同
    private String message;  //报错信息
}
